ExternalFilesInMediaLibrary\Plugin\Helper A

Total Complexity 59
Dependencies 3
Dependents 25
Total lines 536
Lines of code 223
Logical lines of code 106
Comment lines 246
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
delete_directory_recursively()
S
54 7 20
shorten_url()
S
55 6 20
set_capabilities()
S
60 5 13
get_first_administrator_user()
S
58 3 16
get_current_user_id()
S
61 3 12
get_possible_mime_types()
S
50 1 33
get_allowed_mime_types()
S
64 3 10
generate_sizes_filename()
S
63 3 10
get_plugin_review_url()
S
72 2 6
get_intervals()
S
66 2 8
get_mimetypes_doc_url()
S
72 2 6
get_support_url_for_urls()
S
72 2 6
get_content_type_from_string()
S
68 2 7
get_gprd_url()
S
72 2 6
add_array_in_array_on_position()
S
69 2 6
is_cli()
S
79 2 3
get_media_library_url()
S
79 1 3
get_plugin_slug()
S
80 1 3
get_plugin_dir()
S
79 1 3
get_add_media_url()
S
78 1 3
get_plugin_support_url()
S
81 1 3
get_plugin_url()
S
79 1 3
is_plugin_active()
S
77 1 3
get_hook_url()
S
81 1 3
get_log_url()
S
79 1 3
get_config_url()
S
80 1 3
get_format_date_time()
S
73 1 4
get_404_template()
S
69 1 7